/**
 * Created by Administrator on 2018/7/26 0026.
 */
function login_ajax(){
    var email=$('#email').val();
    var pas=$('#password').val();
    $.get('/index.php/index/login/doLogin.html',{"email":email,"password":pas},function(data){
    //$.get("http://angryshan.com/index.php/index/login/doLogin.html",{"email":email,"password":pas},function(data){
        if(data=='0'){
            window.location="/index.php/index/index/index";
        }
        else {
            alert(data);
        }
    });
}

